package com.banmoon.strategy;

public class StrategyMain {

    public static void main(String[] args) {
        Person person = new Person(new AirplaneStrategy());
        person.travel();
        System.out.println("========== 分割线 ==========");
        Person person1 = new Person(new GTrainStrategy());
        person1.travel();
    }
}
